<?php if (!defined('THINK_PATH')) exit(); /*a:1:{s:69:"/var/www/fish/application/crm/view/ordermanager/printInvoiceList.html";i:1517968040;}*/ ?>
<!DOCTYPE html>
<html>
  
  <head>
    <meta charset="UTF-8">
    <title>小鱼ADMIN</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width,user-scalable=yes, minimum-scale=0.4, initial-scale=0.8,target-densitydpi=low-dpi" />
    <script type="text/javascript" src="/public/static/js/jquery-1.8.0.min.js"></script>
	<script type="text/javascript" >
	// $(function(){
	// 	if("<?php echo $customer_code; ?>"!="0"){
	// 		$("#search_id").css("display","none");
	// 		$("#bg_nav_id").css("display","none");
	// 	}
	// })
	</script>
  </head>

	<style type="text/css">
		table.tab{
			font-family: Tahoma,Verdana,新宋体;
			font-size: 12px;
			width:735px;
			height:550px;
			border-spacing:0px;
			border:1px solid #ccc;
			border-collapse:collapse;
		}
		.tab tr td{
			border:1px solid #ccc;
			border-top:none;
			border-left:none;
		}
		tr.top_title td{
			text-align:center;
			font-size: 20px;
			font-weight:bold;
		}
		tr.sub_title td{
			text-align:center;
			font-size: 14px;
		}
		tr.work td{
			font-weight: 2px;
		}
		tr.cus_info td{
			text-align:center;
			font-weight: 2px;
		}
		
		#nav{
			 height:75px;width:750px;float:left; margin-top:-90px; margin-left:500px;position:relative;
		}
		#id_barcodege{
			margin-top:10px;position:relative;
		}
		.wx{
			width:10%;margin-right:300px;
		}
	</style>
  <body>
	<?php if(is_array($arrData) || $arrData instanceof \think\Collection || $arrData instanceof \think\Paginator): $k = 0; $__LIST__ = $arrData;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vm): $mod = ($k % 2 );++$k;?>
	<div class="order_info" style="page-break-after:always">	
		<div id="id_barcodege"><img class="wx" src="/barcodege/wxcode.jpg" alt="code" /><img src="/barcodege/test.php?text=<?php echo $vm['order_num']; ?>" alt="barcode" /></div>
		<table class="tab">
			<tr class="top_title">
				<td colspan="8"><!--<?php echo $copyright; ?>-->订单信息</td>
			</tr>
			<tr class="sub_title">
				<td colspan="8">客户信息</td>
			</tr>
			<tr>
				<td>客户姓名</td>
				<td><?php echo $vm['consignee']; ?></td>
				<td>联系电话</td>
				<td><?php echo $vm['phone']; ?></td>
				<td>地址</td>
				<td colspan="3"><?php echo $vm['delivery_address']; ?></td>
			</tr>
			<tr class="sub_title">
				<td colspan="8">
					产品信息
					<?php if($vm['shop_num'] > '7'): ?>
						&nbsp;(产品个数<?php echo $vm['shop_num']; ?>)
					<?php endif; ?>
				</td>
			</tr>
			<tr>
				<td>商品货号</td>
				<td colspan="3">产品名称</td>
				<td>统一零售价</td>
				<td>产品数量</td>
				<td>商品分类</td>
				<td>商品品牌</td>
			</tr>
			<?php if(is_array($vm['goods_name']) || $vm['goods_name'] instanceof \think\Collection || $vm['goods_name'] instanceof \think\Paginator): $kv = 0; $__LIST__ = $vm['goods_name'];if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($kv % 2 );++$kv;if($kv <= '7'): ?>
				<tr>
					<td><?php echo $v['good_num']; ?></td>
					<td colspan="3"><?php echo $v['good_name']; ?></td>
					<td><?php echo $v['price']; ?></td>
					<td><?php echo $v['goods_num']; ?></td>
					<td><?php echo $v['cat_name']; ?></td>
					<td><?php echo $v['brand_name']; ?></td>
				</tr>
				<?php endif; endforeach; endif; else: echo "" ;endif; ?>
            <tr  class="cus_info">
                <td>订单号：</td>
                <td colspan="3"><?php echo $vm['order_num']; ?></td>
                <td>优惠价：</td>
                <td colspan="3"><?php echo $vm['cope_money']; ?></td>
            </tr>
			<tr class="work">
				<td colspan="8">上班时间：周一至周五09:00至18:00</td>
			</tr>
			<tr class="work">
				<td colspan="8">兑奖时间：周一至周五下午14:30至17:30</td>
			</tr>
			<tr class="work">
				<td colspan="8">兑奖热线：4007-296-296&nbsp;&nbsp;&nbsp;&nbsp;4007-296-669</td>
			</tr>
		</table>
		<div id="nav"><img src="/barcodege/yingzhang.jpg"/> </div>
	</div>

	<!-- <?php if($k != $max): ?>
	<div style="page-break-after:always"></div>
	<?php endif; ?> -->
	<?php endforeach; endif; else: echo "" ;endif; ?>
	</body>
	</html>